Skip to content

Support Nuttx target os#663

Merged
Thomasdezeeuw merged 2 commits into
rust-lang:masterfrom
wllenyj:nuttx
Jul 7, 2026
Merged

Support Nuttx target os#663
Thomasdezeeuw merged 2 commits into
rust-lang:masterfrom
wllenyj:nuttx

Conversation

@wllenyj

@wllenyj wllenyj commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Enable keepalive and disable unsupported capabilities
These flags are not supported in Nuttx target.
SO_REUSEPORT
IP_HDRINCL
IP_RECVTOS
IPV6_RECVTCLASS
IPV6_ADD_MEMBERSHIP
IPV6_DROP_MEMBERSHIP

Now, if you compile tokio/mio in Nuttx target, will compile failed.

wllenyj added 2 commits July 7, 2026 14:22
Signed-off-by: wanglei <wllenyj@gmail.com>
These flags are not modified in Nuttx target.
SO_REUSEPORT
IP_HDRINCL
IP_RECVTOS
IPV6_RECVTCLASS
IPV6_ADD_MEMBERSHIP
IPV6_DROP_MEMBERSHIP

Signed-off-by: wanglei <wllenyj@gmail.com>
@wllenyj wllenyj changed the title Support Nuttx Rust Target Support Nuttx target os Jul 7, 2026
@Thomasdezeeuw Thomasdezeeuw merged commit 8f1c684 into rust-lang:master Jul 7, 2026
53 checks passed
@Thomasdezeeuw

Copy link
Copy Markdown
Collaborator

Thanks @wllenyj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants